home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Info-Mac 4
/
Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso
/
Development
/
General
/
MM3Tp.sea Folder
/
Made by Marksman
/
Sources
/
u
/
InitExitMM_Demo.p
< prev
next >
Wrap
Text File
|
1994-01-16
|
2KB
|
67 lines
unit UInitExitMM_Demo;
{ Copyright © 1994 George R. Cossey }
{ InitExitMM_Demo Program Init and Exit routines
File name: InitExitMM_Demo
Function: This module contains the extra program initialization
routine as well as the program exit and cleanup routine.
History: 1/16/94 Original by George Cossey
}
interface
uses
Printing, Folders, Sound,mmCommonMM_Demo,CommonMM_Demo;
{ ======================================================= }
{ ======================================================= }
{ Program initializations }
procedure ApplInitMM_Demo;
{ Program exit and cleanup }
procedure ApplExitMM_Demo;
{ ======================================================= }
{ ======================================================= }
implementation
{ ======================================================= }
{ ======================================================= }
{ Routine: ApplInitMM_Demo }
{ Purpose: Extra program initialization }
{ WNE: boolean, This variable set to TRUE says the WaitNextEvent trap is available, }
{ If we want to use that trap then we do nothing to this variable. If we do not }
{ want to use that trap, and use GetNextEvent instead, then we change this }
{ variable to FALSE. }
{ SleepValue:integer, This is only valid if WNE is true. This is the default sleep }
{ value to use with WaitNextEvent, it is set to 40. This can be changed to any }
{ value desired at any time. }
procedure ApplInitMM_Demo; { Initialization }
begin
end;
{ ======================================================= }
{ Routine: ApplExitMM_Demo }
{ Purpose: Extra program cleanup upon exit from our program }
{ This is where left over buffers are released and any open files are closed }
procedure ApplExitMM_Demo; { Exit and cleanup }
begin
end;
{ ======================================================= }
{ ======================================================= }
end.